﻿/*
 * Copyright © 2020, Wuxi Safover Intelligent Technology Co., Ltd. All rights reserved.
 * 
 * 无锡安永智能科技有限公司版权所有，未经许可，不得用于商业用途
 * 
 * Visit: https://www.safover.com/ 
 */

using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;

namespace Safover.LidarCollector.Core
{
    public abstract class BaseDeviceController
    {
        protected void HandleInvalidOperation([CallerMemberName] string message = "")
        {
            Debug.WriteLine($"{GetType()}: {message}");
        }

        protected Task HandleInvalidOperationAsync([CallerMemberName] string message = "")
        {
            Debug.WriteLine($"{GetType()}: {message}");
            return Task.CompletedTask;
        }

    }
}
